package org.robotlegs.base
{
	import flash.events.Event;
	

public class ContextEvent extends Event
{
	public function ContextEvent(type:String, body:* = null)
	{
		super(type);
		_body = body;
	}
	
	
	
	
	public static const STARTUP:String = 'startup';
	public static const STARTUP_COMPLETE:String = 'startupComplete';
	
	public static const SHUTDOWN:String = 'shutdown';
	public static const SHUTDOWN_COMPLETE:String = 'shutdownComplete';

	
	

	public function get body():*
	{
		return _body;
	}
	
	override public function clone():Event
	{
		return new ContextEvent(type, body);
	}
	
	
	
	
	protected var _body:*;

}
}